home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / Platform.properties < prev    next >
Text File  |  1998-10-16  |  7KB  |  225 lines

  1. {
  2.     // vm$Comment=
  3.     /*
  4.      * This file is used by the com.symantec.itools.lang.Platform
  5.      * class to do its "magic" for abstracting System property info
  6.      * that is related to the platform.
  7.      *
  8.      * You are free (expected actualy) to add information to this
  9.      * file when you encounter a platform that is unknown.
  10.      * Symantec will happily take your changes back (we might
  11.      * modify the keys though) and incorporate them into future
  12.      * releases.  This way everyone can benefit.
  13.      */
  14.  
  15.     /*
  16.      * This section abstracts the Java Virtual Machine (JVM).
  17.      */
  18.     vm=
  19.     {
  20.         // vendors$Comment=
  21.         /*
  22.          * This section abstracts the JVM Vendors (java.vendor).
  23.          * The vendor key is used many places (each section
  24.          * is further broken down into vendor areas).
  25.          *
  26.          * If you want to add new vendors please follow the
  27.          * convention of using the short name (Symantec)
  28.          * or the initials (SGI).
  29.          */
  30.         vendors=
  31.         {
  32.             vendors=(Apple,IBM,Microsoft,Netscape,SGI,Sun,Symantec,DEC,HP,LinuxPort,Compaq);
  33.             Apple=("Apple Computer, Inc.");
  34.             IBM=(IBM,IBM Corporation);
  35.             Microsoft=(Microsoft Corp.);
  36.             Netscape=(Netscape Communications Corporation);
  37.             SGI=(Silicon Graphics Inc.);
  38.             Sun=(Sun Microsystems Inc.);
  39.             Symantec=(Symantec Corporation);
  40.             DEC=(Digital Equipment Corp.);
  41.             HP=(Hewlett Packard Co.);
  42.             LinuxPort=("Sun Microsystems Inc., ported by Randy Chapman and Steve Byrne");
  43.             Compaq=(Compaq Computer Corp.);
  44.         };
  45.  
  46.         // versions$Comment=
  47.         /*
  48.          * This section abstracts the JVM Versions (java.version).
  49.          * Only major.minor releases (1.1, 1.2, etc) are supported
  50.          * because not all vendors report the maintainance release
  51.          * numbers (!).
  52.          *
  53.          * If you want to add new versions please follow the convention
  54.          * of major-minor as is done below.
  55.          */
  56.         versions=
  57.         {
  58.             versions=(1-1,1-2);
  59.             1-1.Symantec=(11,1.1.5,1.1.7,1.1.7A);
  60.             1-1.Sun=(1.1_Final,1.1.1,1.1.2,1.1.3,1.1.4,1.1.5,1.1.6,1.1.7);
  61.             1-1.Netscape=(1.1.5);
  62.             1-1.DEC=(1.1.6-2);
  63.             1-1.HP=(HP-UX Java C.01.13.04,HP-UX Java C.01.15.04 07/07/98);
  64.             1-1.LinuxPort=(1.1.6);
  65.             1-1.Microsoft=(1.1);
  66.             1-1.IBM=(1.1.6);
  67.             1-1.Compaq=(1.1.7-beta1);
  68.             1-2.Sun=(1.2fcs);
  69.             1-1.Apple=(1.1.6);
  70.         };
  71.     };
  72.  
  73.     // os$Comment=
  74.     /*
  75.      * This section abstracts the Operating System (OS).
  76.      */
  77.     os=
  78.     {
  79.         // names$Comment=
  80.         /*
  81.          * This section abstracts the OS Name (os.name).
  82.          *
  83.          * If you want to add new names please follow the convention
  84.          * of supplying a name that contains no spaces (eg: BEOS for
  85.          * the Be OS).
  86.          */
  87.         names=
  88.         {
  89.             names=(WindowsNT,Windows95,Macintosh,Solaris,Irix,DigitalUnix,AIX,HPUX,Linux);
  90.             WindowsNT.Symantec=(Windows NT);
  91.             WindowsNT.Sun=(Windows NT);
  92.             WindowsNT.Netscape=(Windows NT);
  93.             WindowsNT.Microsoft=(Windows NT);
  94.             WindowsNT.IBM=(Windows NT);
  95.             Windows95.Symantec=(Windows 95);
  96.             DigitalUnix.DEC=(Digital UNIX);
  97.             DigitalUnix.Compaq=(Compaq's Digital UNIX);
  98.             Irix.SGI=(Irix);
  99.             AIX.IBM=(AIX);
  100.             HPUX.HP=(HP-UX);
  101.             Linux.LinuxPort=(Linux);
  102.             Solaris.Sun=(Solaris);
  103.             Macintosh.Apple=(Mac OS);
  104.         };
  105.  
  106.         // versions$Comment=
  107.         /*
  108.          * This section abstracts the OS Version (os.version).
  109.          *
  110.          * If you want to add new versions please follow the convention
  111.          * of major.minor as is done below.
  112.          */
  113.         versions=
  114.         {
  115.             WindowsNT=(4.0);
  116.             WindowsNT.4.0.Symantec=(4.0);
  117.             WindowsNT.4.0.Sun=(4.0);
  118.             WindowsNT.4.0.Netscape=(4.0);
  119.             WindowsNT.4.0.Microsoft=(4.0);
  120.             WindowsNT.4.0.IBM=(4.0 build 1381 Service Pack 3);
  121.             Windows95=(4.0,4.10);
  122.             Windows95.4.0.Symantec=(4.0);
  123.             Windows95.4.0.Sun=(4.0);
  124.             Windows95.4.10.Symantec=(4.10);
  125.             Windows95.4.10.Sun=(4.10);
  126.             Irix=(6.2);
  127.             Irix.SGI.6.2=(6.2);
  128.             DigitalUnix=(4.0);
  129.             DigitalUnix.4.0.DEC=(V4.0);
  130.             DigitalUnix.4.0.Compaq=(V4.0);
  131.             Solaris=(2);
  132.             Solaris.2.Sun=(2.x);
  133.             AIX=(4.2);
  134.             AIX.4.2.IBM=(4.2);
  135.             HPUX=(A.10.20,B.11.00);
  136.             HPUX.A.10.20.HP=(A.10.20);
  137.             HPUX.B.11.00.HP=(B.11.00);
  138.             Linux=(2.0.34);
  139.             Linux.2.0.34.LinuxPort=(2.0.34);
  140.             Macintosh=(8.1);
  141.             Macintosh.8.1.Apple=(8.1);
  142.         };
  143.  
  144.         // types$Comment=
  145.         /*
  146.          * This section provides the abstraction for the OS family.
  147.          * There is no System property for this - but it is very
  148.          * usefull!
  149.          *
  150.          * If you want to add new types please follow the convention
  151.          * of supplying a name that has no spaces.
  152.          */
  153.         types=
  154.         {
  155.             types=(MacOS,Windows,Unix);
  156.             MacOS=(Macintosh);
  157.             Windows=(WindowsNT,Windows95);
  158.             Unix=(Solaris,Irix,DigitalUnix,AIX,HPUX,Linux);
  159.         };
  160.     };
  161.  
  162.     // machine$Comment=
  163.     /*
  164.      * This section abstracts the architecture (os.arch)
  165.      *
  166.      * If you want to add new architectures please follow the convention
  167.      * of using no spaces in the name.
  168.      */
  169.     machine=
  170.     {
  171.         machines=(MIPS,x86,ALPHA,SPARC,PA-RISC,PowerPC);
  172.         MIPS.SGI=(mips);
  173.         x86.Symantec=(x86);
  174.         x86.Sun=(x86);
  175.         x86.LinuxPort=(x86);
  176.         x86.Netscape=(x86);
  177.         x86.Microsoft=(x86);
  178.         x86.IBM=(x86);
  179.         ALPHA.DEC=(alpha);
  180.         ALPHA.Compaq=(alpha);
  181.         SPARC.Sun=(sparc);
  182.         PA-RISC.HP=(PA-RISC);
  183.         PowerPC.IBM=(POWER_PC);
  184.         PowerPC.Apple=(PowerPC);
  185.     };
  186. }
  187.  
  188. ############################## Raw Data ######################################
  189. # java.vendor
  190. # java.version
  191. # os.name
  192. # os.version
  193. # os.arch
  194. ##############################
  195. # Compaq Computer Corp.
  196. # 1.1.7-beta1
  197. # Compaq's Digital UNIX
  198. # V4.0
  199. # alpha
  200. ##############################
  201. # Hewlett Packard Co.
  202. # HP-UX Java C.01.15.04 07/07/98
  203. # HP-UX
  204. # B.11.00
  205. # PA-RISC
  206. ##############################
  207. # IBM Corporation
  208. # 1.1.6
  209. # AIX
  210. # 4.2
  211. # POWER_PC
  212. ##############################
  213. # Sun Microsystems Inc.
  214. # 1.1.5
  215. # Solaris
  216. # 2.x
  217. # sparc
  218. ##############################
  219. # Apple Computer, Inc.
  220. # 1.1.6
  221. # Mac OS
  222. # 8.1
  223. # PowerPC
  224. ##############################
  225.